#ifndef UPLOADVIDEOPAGE_H
#define UPLOADVIDEOPAGE_H

#include <QWidget>

namespace Ui {
class UploadVideoPage;
}

class UploadVideoPage : public QWidget
{
    Q_OBJECT

public:
    explicit UploadVideoPage(QWidget *parent = nullptr);
    ~UploadVideoPage();
private slots:
    void onCommitBtnClicked();
    void onLineEditTextChanged(const QString &text);
    void onPlainEditTextChanged();
    void onChangeButtonClicked();
    // QComboBox中选择项发生变化时对应的槽函数.
    void onUpdateTags(const QString& kind);
private:
    void addTagsByKind(const QString& kind);
signals:
    void switchMyselfPage(int pageId);
private:
    Ui::UploadVideoPage *ui;
};

#endif // UPLOADVIDEOPAGE_H
